<script setup>
import { ref } from 'vue'
import MyInput from '@/components/my-input.vue';
const inp = ref('123456')

console.log(inp.value);

</script>

<template>
    <div>
        <MyInput v-model="inp"/>
        {{ inp }}
    </div>
</template>